﻿table {
    float:left;
    clear:both;
    width: 98%;
    margin: 1% 0;
    background-color: rgb(153, 153, 153);
    border-collapse: collapse;
    border: 1px solid rgb(102, 102, 102);
}

table caption    {
    color: #fff;
    background-color: rgb(0,51,153);
    margin: 0;
    padding:3px;
    border-collapse:separate;
}

table thead th, table tfoot td, table tfoot th {
    background-color: rgb(100,135,220);
    border: 1px solid rgb(102, 102, 102);
    color: #fff;
    font-weight: bold;
    font-size:80%;
    padding:3px;
    text-align:justify;
    white-space: nowrap;
}

table tbody tr td p {
    font-size: 1em;
}

table thead th.enquiry   {
    width:30%;
}

table tbody tr   {
    background-color:#E0E0E0;
    margin:0;
}    

table tbody th
{
    text-align: left;
    background-color: #CCCCCC;
    border: 1px solid rgb(102, 102, 102);
    padding: 3px;
}

table tbody tr.flagged
{
    background-color: #FF9900;
}

table td.number  {
    text-align:right;
}

table tbody tr.odd {
    background-color: #F5F5F5;
    margin: 0;
}

table tbody td   {
    font-size:80%;
    border: 1px solid rgb(102, 102, 102);
    padding:3px;
    vertical-align:top;
}

table tbody td a {
    display:block;
    color: rgb(0,102,204);
} 

table tbody td a.usetooltip {
    display:inline;
} 

table tbody tr.overdue {
    background-color: #FF9933;
}

table tbody tr.overdue-alt {
    background-color: #FF6600;
}

table tbody tr.overdue td, table tbody tr.overdue-alt td {
    color: #000000;
}

table tbody tr.overdue td a, table tbody tr.overdue-alt td a {
    color: rgb(0, 61, 121);
}

table tbody tr.hover
{
    background-color: #FFFF99;
}

table tbody td a.button {
    color: #fff;
    display:block;
    margin-bottom:2px;    
    text-align:center;
}

table tbody td img.tick {
    background-color: #CCCCCC;
    padding:0;
    margin-top:2px;
    margin-left: 10px;
}

table thead th select   {
    margin:0;
    padding:0;
    font-size:70%;
}

table tbody tr.Thisenquirywasreferredtoyou {
    background-color: #90EE90;
}

table tbody tr.Yousubmittedthisenquiry {
    background-color: #CCFF66;
}

table tbody tr.ThisenquirywasreferredtoyoubyaCouncillor {
    background-color: #F0E68C;
}

table tbody tr.pressenquiry {
    background-color: #FFC4C4;
}

table tbody tr.confidential {
    background-color: #F5F5F5;
}

table tbody tr.web {
    background-color: #C0C0C0;
}

table thead th.statuscol {
    width:20%;
}

table th.options    {
    width:20%;
}

table tbody tr td.completion
{
    background-color: #669900;
}

table tr.disabled
{
    background-color: inherit;
}

table thead th.small {
    width: 15%;
}

table thead th.medium {
    width: 25%;
}

table thead th.large {
    width: 35%;
}